package com.learn.multDataSource.mapper.mysql;

import com.learn.multDataSource.model.mysql.TKnowVersionHis;
import com.learn.multDataSource.model.mysql.TKnowVersionHisExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TKnowVersionHisMapper {
    int countByExample(TKnowVersionHisExample example);

    int deleteByExample(TKnowVersionHisExample example);

    int deleteByPrimaryKey(Integer historyId);

    int insert(TKnowVersionHis record);

    int insertSelective(TKnowVersionHis record);

    List<TKnowVersionHis> selectByExample(TKnowVersionHisExample example);

    TKnowVersionHis selectByPrimaryKey(Integer historyId);

    int updateByExampleSelective(@Param("record") TKnowVersionHis record, @Param("example") TKnowVersionHisExample example);

    int updateByExample(@Param("record") TKnowVersionHis record, @Param("example") TKnowVersionHisExample example);

    int updateByPrimaryKeySelective(TKnowVersionHis record);

    int updateByPrimaryKey(TKnowVersionHis record);
}